package com.wyix.entity;

import com.wyix.annotation.Column;
import com.wyix.annotation.Table;

/**
 * @author wangdx
 * @since 2025/8/5
 */
@Table("t_user") // 对应数据库表 t_user
public class User {
    @Column("id")       // 对应列 id
    private Long id;
    @Column("username")// 对应列 username
    private String username;
    @Column("age")     // 对应列 age
    private Integer age;

    // 构造方法、getter/setter 省略（为演示简洁）
    public User(Long id, String username, Integer age) {
        this.id = id;
        this.username = username;
        this.age = age;
    }
}